package com.zmn.mcc.model.entity.module;

import com.zmn.mcc.model.BaseModel;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Getter(value = AccessLevel.PUBLIC)
@Setter(value = AccessLevel.PUBLIC)
public class McModule extends BaseModel implements Serializable {
    private static final long serialVersionUID = 5233694556886814734L;

    private Integer moduleId;
    private String moduleName;
    private Integer parentId;
    private Integer sysId;
    private String moduleCode;
    private Integer level;
    private Integer sort;
    private Integer status;
    private String updater;
    private Date updateTime;
    private String creater;
    private Date createTime;

    private List<McModule> modules = new ArrayList<>();

}